package com.G_CN06.mvc.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author Huang
 * @since 2022-11-15
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="ChoiceQuestion对象", description="")
public class ChoiceQuestion implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(hidden = true)
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private String subject;

    private String question;

    @TableField("answerA")
    private String answerA;

    @TableField("answerB")
    private String answerB;

    @TableField("answerC")
    private String answerC;

    @TableField("answerD")
    private String answerD;

    private String rightAnswer;

    private Float score;

    private String level;

    @ApiModelProperty(hidden = true)
    private String teacher;


}
